package copy;

public class ShallowStudent implements Cloneable {

    private Integer id;

    private String name;

    private ShallowSchool shallowSchool;

    public ShallowStudent(Integer id, String name, ShallowSchool shallowSchool) {
        this.id = id;
        this.name = name;
        this.shallowSchool = shallowSchool;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ShallowSchool getShallowSchool() {
        return shallowSchool;
    }

    public void setShallowSchool(ShallowSchool shallowSchool) {
        this.shallowSchool = shallowSchool;
    }

    @Override
    protected ShallowStudent clone() throws CloneNotSupportedException {
        return (ShallowStudent) super.clone();
    }

}
